﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Usersite.aspx.cs" Inherits="Restricted_Usersite" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="subhead">
        <img class="subheadImage" src="../images/slide-03.jpg" />
        <div class="container">
            <div class="subheadText">
                <h1 class="featurette-heading">Min profil
                </h1>
            </div>
        </div>
    </div>
    <div class="container" id="content">
        <div style="margin-top: 20px">

            <div class="row">
                <div class="span8">
                    <div class="row">
                        <div class="span3">
                            <h3>Brugeroplysninger</h3>
                        </div>
                    </div>
                    <div class="row">
                        <div class="span3">
                            Fornavn
                    <asp:TextBox ID="FirstnameTxt" runat="server"></asp:TextBox>
                        </div>
                        <div class="span3">
                            Efternavn
                    <asp:TextBox ID="LastnameTxt" runat="server"></asp:TextBox>
                        </div>
                    </div>
                    <div class="row">
                        <div class="span3">
                            Fødselsdag
                    <br />
                            <asp:DropDownList ID="AgeYearDDL" runat="server" CssClass="createTxts" Width="75px">
                            </asp:DropDownList>
                            <asp:DropDownList ID="AgeMonthDDL" runat="server" Width="75px">
                            </asp:DropDownList>
                            <asp:DropDownList ID="AgeDayDDL" runat="server" CssClass="createTxts" Width="61px">
                            </asp:DropDownList>
                        </div>
                        <div class="span2">
                            By (Postnr)
                    <asp:TextBox runat="server" ID="CityZipcodeTxt" />
                            <cc1:AutoCompleteExtender runat="server" ID="autoComplete1" CompletionListItemCssClass="CitySearchAutocomplete" CompletionListHighlightedItemCssClass="CitySearchAutocompleteHighlighted" ServiceMethod="GetCompletionListCity" TargetControlID="CityZipcodeTxt" UseContextKey="true" CompletionListCssClass="z-index: 1000;"></cc1:AutoCompleteExtender>
                        </div>
                    </div>
                    <div class="row">
                        <div class="span3">
                            Ny adgangskode
                    <asp:TextBox ID="NewcodeTxt" TextMode="Password" runat="server"></asp:TextBox>
                        </div>
                        <div class="span3">
                            Gentag ny adgangskode
                    <asp:TextBox ID="ReNewcodeTxt" TextMode="Password" runat="server"></asp:TextBox>
                        </div>
                    </div>



                    <div class="row">
                        <div class="span3">
                            <h3>Information</h3>
                        </div>
                    </div>
                    <div class="row">
                        <div class="span3">
                            Hårfarve 
                    <asp:DropDownList ID="HaircolorDDL" runat="server">
                    </asp:DropDownList>
                        </div>
                        <div class="span3">
                            Øjenfarve
                    <asp:DropDownList ID="EyecolorDDL" runat="server">
                    </asp:DropDownList>
                        </div>

                    </div>
                    <div class="row">
                        <div class="span3">
                            Krobsbygning
                    <asp:DropDownList ID="ConformationDDL" runat="server">
                    </asp:DropDownList>
                        </div>
                        <div class="span3">
                            Højde (cm)
                    <asp:DropDownList ID="HeightDDL" runat="server">
                        <asp:ListItem Text="Ikke angivet" />
                    </asp:DropDownList>
                        </div>
                        <div class="row">
                            <div class="span3">
                                Vægt (kg)
                    <asp:DropDownList ID="WeightDDL" runat="server">
                        <asp:ListItem Text="Ikke angivet" />
                    </asp:DropDownList>
                            </div>
                            <div class="span3">
                                Ryger
                    <asp:DropDownList ID="SmokerDDL" runat="server">
                        <asp:ListItem Text="Ikke angivet" />
                        <asp:ListItem Text="Nej" />
                        <asp:ListItem Text="Ja" />
                    </asp:DropDownList>
                            </div>
                        </div>

                    </div>


                </div>
                <h3>Profilbillede</h3>
                <div class="span4" style="margin-top: 20px; margin-left:0px">

                    <div class="row">
                        <asp:Image ID="DateProfilePicture" CssClass="img-rounded" runat="server" />
                    </div>
                    <div class="row">
                        <asp:FileUpload ID="FileUploadControl" runat="server" />
                        <asp:Button runat="server" ID="UploadButton" Text="Overfør" OnClick="UploadButton_Click" />
                        <asp:Label runat="server" ID="StatusLabel" />
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="span12" >
                    <div class="row">
                        <div class="span3">
                            <h3>Beskrivelse</h3>
                        </div>
                    </div>
                    <div class="row">
                        <div class="span11">
                            <asp:TextBox ID="DescriptionTxt" runat="server" TextMode="MultiLine" Width="892px" Height="120px" />
                        </div>
                    </div>
                </div>
            </div>

            <div class="row">
                <div class="span10">
                    <div class="pull-right">
                        <asp:Label id="WarningLabel" CssClass="label label-important" runat="server" />
                    </div>
                    
                </div>
                <div class="span1">
                    <asp:Button Text="Gem ændringer" CssClass=" btn btn-primary" runat="server" ID="SaveChanges" OnClick="SaveChanges_Click" />
                </div>
            </div>
            <div style="height:20px"></div>
        </div>
    </div>
</asp:Content>
